﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.Text;
using System.Threading.Tasks;

namespace WcfInspectorLib
{
    /// <summary>
    /// 服务器端接受客户端请求事件参数
    /// </summary>
    public class AfterReceiveRequestEventArgs : EventArgs
    {
        public Message Message { get; set; }

        public IClientChannel Channel { get; set; }

        public InstanceContext InstanceContext { get; set; }

        public AfterReceiveRequestEventArgs() { }

        public AfterReceiveRequestEventArgs(Message message, IClientChannel channel, InstanceContext instanceContext) 
        {
            Message = message;
            Channel = channel;
            InstanceContext = instanceContext;
        }
    }
}
